import i18n from '@/lang'
// 系统日志列表表头,列带有special属性值为true时，说时需要单独处理单元中的值
export const sysLogTbColumns = [{
  title: i18n.t('systemName'),
  dataIndex: 'systemName',
  scopedSlots: {
    customRender: 'systemName'
  },
  width: 140,
  align: 'center'
}, {
  title: i18n.t('operateType'),
  dataIndex: 'handleType',
  scopedSlots: {
    customRender: 'handleType'
  },
  special: true,
  width: 80,
  align: 'center'
}, {
  title: i18n.t('dataTotal'),
  dataIndex: 'syncTotal',
  scopedSlots: {
    customRender: 'syncTotal'
  },
  width: 90,
  align: 'center'
}, {
  title: i18n.t('operationTime'),
  dataIndex: 'handleTime',
  scopedSlots: {
    customRender: 'handleTime'
  },
  width: 140,
  align: 'center'
}, {
  title: i18n.t('operator3'),
  dataIndex: 'handleBy',
  scopedSlots: {
    customRender: 'handleBy'
  },
  width: 110,
  align: 'center'
}, {
  title: i18n.t('status'),
  dataIndex: 'status',
  scopedSlots: {
    customRender: 'status'
  },
  width: 80,
  align: 'center'
}, {
  title: i18n.t('remark'),
  dataIndex: 'note',
  width: 150,
  align: 'center',
  scopedSlots: {
    customRender: 'remark'
  },
}, {
  title: i18n.t('operation'),
  dataIndex: 'operation',
  scopedSlots: {
    customRender: 'operation'
  },
  width: 130,
  align: 'center'
}]
